from django.db import models

# Create your models here.
class McHospitalLevel(models.Model):
    level = models.CharField(max_length=40, null=True, blank=True)
    created_time = models.DateTimeField(auto_now_add=True)
    updated_time = models.DateTimeField(auto_now=True)

    class Meta:
        db_table = "mc_hospital_level"
        verbose_name = "医院等级"
        verbose_name_plural = "医院等级"

    def __str__(self):
        return self.level or ""